package com.zero.spring.dao;
import com.zero.spring.model.User;
import java.util.List;

/**
 * Created by Zero on 2017/11/8.
 */
public interface IUserDao {
    public void add(User user);

    public void update(User user);

    public void delete(int id);

    public User load(int id);

    public List<User> list();
}
